package com.ceair.flight.refund.location.model;

import com.ceair.flight.refund.util.DateUtil;
import com.ceair.flight.refund.util.StringUtil;
import com.ceair.muservice.common.dto.AbstractBaseDO;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;


/**
 * wifi订单
 * 
 * @author hu-xl
 *
 */
public class WifiOrderDO extends AbstractBaseDO implements Serializable{

	private static final long serialVersionUID = 8121532938069866952L;
	/**
	 * wifi订单号
	 */
	private String wifiOrderNo;
	/**
	 * 大订单号
	 */
	private String orderNo;
	/**大工单号**/
	private String jobOrderNo;
	/**
	 *  1.新增  2 申请成功  3申请失败 4已取消
	 */
	private String orderSt;
	/**
	 * 订单渠道
	 */
	private String channel;
	/**
	 * 站点
	 */
	private String site;
	/**
	 * 来源ip
	 */
	private String sourceIp;
	/**
	 * 联系人姓名
	 */
	private String contactNm;
	/**
	 * 联系人电话
	 */
	private String contactTel;
	/**
	 * 电话区号，
	 */
	private String contactTelCode;
	/**
	 * 联系邮箱
	 */
	private String contactEmail;
	/** 票面价**/
	private BigDecimal FCNY;
	/**实付价**/	
	private BigDecimal SCNY;
	/**
	 * 币种
	 */
	private String currency;
	
	/** wifi旅客 **/
	private Set<WifiPassengerDO> wifiPaxDto = new HashSet<WifiPassengerDO>();

	/**
     * 来源
     * @return
     */
    private String source;

    /**
     * 国家
     * @return
     */
    private String country;

    /**
     * 语言
     * @return
     */
    private String language;

    public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getWifiOrderNo() {
		return wifiOrderNo;
	}

	public void setWifiOrderNo(String wifiOrderNo) {
		this.wifiOrderNo = wifiOrderNo;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getOrderSt() {
		return orderSt;
	}

	public void setOrderSt(String orderSt) {
		this.orderSt = orderSt;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getSite() {
		return site;
	}

	public void setSite(String site) {
		this.site = site;
	}

	public String getSourceIp() {
		return sourceIp;
	}

	public void setSourceIp(String sourceIp) {
		this.sourceIp = sourceIp;
	}

	public String getContactNm() {
		return contactNm;
	}

	public void setContactNm(String contactNm) {
		this.contactNm = contactNm;
	}

	public String getContactTel() {
		return contactTel;
	}

	public void setContactTel(String contactTel) {
		this.contactTel = contactTel;
	}

	public String getContactTelCode() {
		return contactTelCode;
	}

	public void setContactTelCode(String contactTelCode) {
		this.contactTelCode = contactTelCode;
	}

	public String getContactEmail() {
		return contactEmail;
	}

	public void setContactEmail(String contactEmail) {
		this.contactEmail = contactEmail;
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public BigDecimal getFCNY() {
		return FCNY;
	}

	public void setFCNY(BigDecimal fCNY) {
		FCNY = fCNY;
	}
	public BigDecimal getSCNY() {
		return SCNY;
	}

	public void setSCNY(BigDecimal sCNY) {
		SCNY = sCNY;
	}
	public String getJobOrderNo() {
		return jobOrderNo;
	}

	public void setJobOrderNo(String jobOrderNo) {
		this.jobOrderNo = jobOrderNo;
	}

	public Set<WifiPassengerDO> getWifiPaxDto() {
		return wifiPaxDto;
	}

	public void setWifiPaxDto(Set<WifiPassengerDO> wifiPaxDto) {
		this.wifiPaxDto = wifiPaxDto;
	}

	@Override
	public String toString() {
		return  wifiOrderNo + StringUtil.SEPARATOR + orderNo
				+ StringUtil.SEPARATOR+ orderSt + StringUtil.SEPARATOR + channel + StringUtil.SEPARATOR + site + StringUtil.SEPARATOR + sourceIp
				+ StringUtil.SEPARATOR + contactNm + StringUtil.SEPARATOR + contactTel
				+ StringUtil.SEPARATOR + contactEmail+ StringUtil.SEPARATOR + currency
				+ StringUtil.SEPARATOR+createId+ StringUtil.SEPARATOR + DateUtil.toString(createDtm, StringUtil.DATEFORMATE)
				+ StringUtil.SEPARATOR+updateId+ StringUtil.SEPARATOR + DateUtil.toString(updateDtm, StringUtil.DATEFORMATE)+ StringUtil.SEPARATOR+version+ StringUtil.SEPARATOR+deleted
				+ StringUtil.SEPARATOR + FCNY + StringUtil.SEPARATOR + SCNY
				+ StringUtil.SEPARATOR + jobOrderNo+ StringUtil.SEPARATOR + contactTelCode;
	}
	
	

}
